package com.menggudf.service;

import com.menggudf.entity.Invitation;
import com.menggudf.model.InvitationModel;
import com.menggudf.model.ResultModel;
import com.menggudf.model.UserModel;

import java.util.Date;
import java.util.Map;

public interface InvitationService {
    ResultModel addInvitation(String userName);

    Map<String, Object> getInvitationList(String userCode, String userName, int pageSize, int offset, Date startTime, Date endTime);

    InvitationModel getInvitationDetail(String userCode);

    InvitationModel findByInvitationCode(String invitationCode);
}
